package cn.tedu.rms.branch.service.impl;


import cn.tedu.rms.branch.mapper.BranchMapper;
import cn.tedu.rms.branch.pojo.dto.BranchQuery;
import cn.tedu.rms.branch.pojo.vo.BranchVO;
import cn.tedu.rms.branch.service.BranchService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class BranchServiceImpl implements BranchService {
    @Autowired
    BranchMapper branchMapper;

    @Override
    public List<BranchVO> selectBranch(BranchQuery branchQuery) {
        log.debug("查询分店业务,branchQuery:{}",branchQuery);
        List<BranchVO> list=branchMapper.selectBranch(branchQuery);
        return list;
    }
}
